package com.robam.cloud.common.util.alipay;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 支付宝用户信息
 *
 * @author 最
 * createTime 2017年6月5日/下午3:09:19
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AlipayUser implements Serializable {

    public final static String CERT_TYPE_SFZ = "0";    //身份证
    public final static String CERT_TYPE_HZ = "1";    //护照
    public final static String CERT_TYPE_JUGZ = "2";    //军官证
    public final static String CERT_TYPE_SBZ = "3";    //士兵证
    public final static String CERT_TYPE_HXZ = "4";    //回乡证
    public final static String CERT_TYPE_LSSFZ = "5";    //临时身份证
    public final static String CERT_TYPE_HKB = "6";    //户口簿
    public final static String CERT_TYPE_JIGZ = "7";    //警官证
    public final static String CERT_TYPE_TBZ = "8";    //台胞证
    public final static String CERT_TYPE_YYZZ = "9";    //营业执照
    public final static String CERT_TYPE_OTHERS = "10";    //其他证件

    public final static String CERTIFIED = "T";    //实名认证
    public final static String NOT_CERTIFIED = "F";    //未实名认证
    private static final long serialVersionUID = -7859858600214412509L;
    public final static String FEMALE = "F";    //女性
    public final static String MALE = "M";    //男性


    private String userId;
    private String nickName;
    /**
     * 性别（F：女性；M：男性）
     */
    private String gender;
    private String mobile;
    /**
     * 0:身份证
     * 1:护照
     * 2:军官证
     * 3:士兵证
     * 4:回乡证
     * 5:临时身份证
     * 6:户口簿
     * 7:警官证
     * 8:台胞证
     * 9:营业执照
     * 10其它证件
     */
    private String certType;
    private String certNo;
    /**
     * 是否通过实名认证。T是通过 F是没有实名认证
     */
    private String isCertificatied;
    /**
     * 用户类型（1/2）
     * 1代表公司账户
     * 2代表个人账户
     */
    private String userType;
    private String province;
    private String city;
    private String address;
    /**
     * 用户状态（Q/T/B/W）。
     * Q代表快速注册用户
     * T代表已认证用户
     * B代表被冻结账户
     * W代表已注册，未激活的账户
     */
    private String userStatus;
    private String avatar;
    /**
     * 用户真实姓名
     */
    private String userName;
}
